import type { App } from "vue";
import * as echarts from "echarts";
import * as api from "@/api/index";

export default {
  install(app: App) {
    app.config.globalProperties.$echarts = echarts;
    app.config.globalProperties.$api = api;
    app.provide("$api",api)
  }
};